package dwl.graduation.design.domain;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ApplyInfo implements Serializable {
    private Long id;

    private Long applyId;

    private Short process;

    private Short step;

    private Short status;

    private Short lastStep;

    private String comment;

    private Integer sponsorId;

    private String sponsorDepartment;

    private Integer handlerId;

    private String handlerDepartment;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", applyId=").append(applyId);
        sb.append(", process=").append(process);
        sb.append(", step=").append(step);
        sb.append(", status=").append(status);
        sb.append(", lastStep=").append(lastStep);
        sb.append(", comment=").append(comment);
        sb.append(", sponsorId=").append(sponsorId);
        sb.append(", sponsorDepartment=").append(sponsorDepartment);
        sb.append(", handlerId=").append(handlerId);
        sb.append(", handlerDepartment=").append(handlerDepartment);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}